package com.relytosoft.mizar.media.analyze.services.mapper.behavior;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.relytosoft.mizar.media.analyze.api.entity.behavior.AyBehaviorTask;
import com.relytosoft.mizar.media.analyze.api.pojo.query.AyBehaviorTaskQuery;
import com.relytosoft.mizar.media.analyze.api.pojo.vo.AyBehaviorTaskVo;
import org.apache.ibatis.annotations.Param;

/**
 * @author lj
 * @date 2022/6/7 9:44
 */
public interface AyBehaviorTaskMapper extends BaseMapper<AyBehaviorTask> {

    /**
     * 分页条件查询行为分析任务
     *
     * @param page                分页对象
     * @param ayBehaviorTaskQuery 查询条件
     * @return 分页结果
     */
    Page<AyBehaviorTaskVo> selectPageTaskList(@Param("page")
                                                      Page<AyBehaviorTaskVo> page,
                                              @Param("ayBehaviorTaskQuery")
                                                      AyBehaviorTaskQuery ayBehaviorTaskQuery);
}
